#!/bin/sh

. /lib/partman/lib/base.sh

# No swapfile
if [ ! -f /target/swapfile ]; then
    return 0
fi

printf "%-41s %-15s %-7s %-15s %-7s %s\n" /swapfile none swap sw 0 0 >> /target/etc/fstab
